package io.renren.modules.myCourse.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import io.renren.modules.myCourse.dao.MyFileDao;
import io.renren.modules.myCourse.entity.MyFileEntity;
import io.renren.modules.myCourse.service.MyFileService;


@Service("myFileService")
public class MyFileServiceImpl extends ServiceImpl<MyFileDao, MyFileEntity> implements MyFileService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        Page<MyFileEntity> page = this.selectPage(
                new Query<MyFileEntity>(params).getPage(),
                new EntityWrapper<MyFileEntity>()
        );

        return new PageUtils(page);
    }





}
